package com.t.bricks.bussiness.db.entity.tidings;

import io.swagger.annotations.ApiModelProperty;

import com.t.bricks.bussiness.db.entity.tidings.base.TidingsBase;

/**
 * 消息管理'Tidings'表扩展实体类
 * 注意:可根据需要创建不同的多个扩展实体类,而不是把所有的扩展属性都集中到一个类中
 * @author HuangXinBian
 */
public class Tidings extends TidingsBase {
	
	private static final long serialVersionUID = -1L;// 使用rmi时需修改
	
	/**
	 * 类型(枚举,1:普通;2:急;3:紧急)
	 */
	@ApiModelProperty(value="类型(枚举,1:普通;2:急;3:紧急)", example="")
	private String sTypeText;

	/**
	 * 接收者删除(布尔值,1:是;2:否)
	 */
	@ApiModelProperty(value="接收者删除(布尔值,1:是;2:否)", example="")
	private String sSendeeDelText;

	/**
	 * 发送者删除(布尔值,1:是;2:否)
	 */
	@ApiModelProperty(value="发送者删除(布尔值,1:是;2:否)", example="")
	private String sCreatorDelText;
	
	/**
	 * 状态(枚举,1:未读;2:已读)
	 */
	@ApiModelProperty(value="状态(枚举,1:未读;2:已读)", example="")
	private String sStateText;

	/**
	 * 取 类型(枚举,1:普通;2:急;3:紧急)
	 * @return TypeText 类型(枚举,1:普通;2:急;3:紧急)
	 */
	public String getsTypeText() {
		return this.sTypeText;
	}

	/**
	 * 设置 类型(枚举,1:普通;2:急;3:紧急)
	 * @param sTypeText 类型(枚举,1:普通;2:急;3:紧急)
	 */
	public void setsTypeText(String sTypeText) {
		this.sTypeText = sTypeText;
	}

	/**
	 * 取 接收者删除(布尔值,1:是;2:否)
	 * @return SendeeDelText 接收者删除(布尔值,1:是;2:否)
	 */
	public String getsSendeeDelText() {
		return this.sSendeeDelText;
	}

	/**
	 * 设置 接收者删除(布尔值,1:是;2:否)
	 * @param sSendeeDelText 接收者删除(布尔值,1:是;2:否)
	 */
	public void setsSendeeDelText(String sSendeeDelText) {
		this.sSendeeDelText = sSendeeDelText;
	}

	/**
	 * 取 发送者删除(布尔值,1:是;2:否)
	 * @return CreatorDelText 发送者删除(布尔值,1:是;2:否)
	 */
	public String getsCreatorDelText() {
		return this.sCreatorDelText;
	}

	/**
	 * 设置 发送者删除(布尔值,1:是;2:否)
	 * @param sCreatorDelText 发送者删除(布尔值,1:是;2:否)
	 */
	public void setsCreatorDelText(String sCreatorDelText) {
		this.sCreatorDelText = sCreatorDelText;
	}

	/**
	 * 取 状态(枚举,1:未读;2:已读)
	 * @return StateText 状态(枚举,1:未读;2:已读)
	 */
	public String getsStateText() {
		return this.sStateText;
	}

	/**
	 * 设置 状态(枚举,1:未读;2:已读)
	 * @param sStateText 状态(枚举,1:未读;2:已读)
	 */
	public void setsStateText(String sStateText) {
		this.sStateText = sStateText;
	}

	/**
	 * 复制对象
	 * @param source 数据源
	 * @return Tidings
	 */
	public static Tidings copy(Tidings source) {
		if (null == source) {
			return null;
		}
		
		Tidings target = new Tidings();
		target.setiId(source.getiId());
		target.setsSendeeId(source.getsSendeeId());
		target.setsSendeeName(source.getsSendeeName());
		target.setsCreatorName(source.getsCreatorName());
		target.setiType(source.getiType());
		target.setiSendeeDel(source.getiSendeeDel());
		target.setiCreatorDel(source.getiCreatorDel());
		target.setsMemo(source.getsMemo());
		target.setsCreator(source.getsCreator());
		target.setdCreateDate(source.getdCreateDate());
		target.setsModifieder(source.getsModifieder());
		target.setdModifiedDate(source.getdModifiedDate());
		target.setiState(source.getiState());
		target.setiIndex(source.getiIndex());
		target.setiVersion(source.getiVersion());
		target.setsTypeText(source.getsTypeText());
		target.setsSendeeDelText(source.getsSendeeDelText());
		target.setsCreatorDelText(source.getsCreatorDelText());
		target.setsStateText(source.getsStateText());

		return target;
	}
	
	/**
	 * 克隆对象
	 * @return Tidings
	 */
	@Override
	public Tidings clone() {
		return copy(this);
	}
	
}
